﻿using AF_Application.Interface.Cache;
using AF_Application.Interface.Domain;
using AF_Application.Interface.Repertory;
using AF_DataModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;

namespace AF_Application.Interface.App
{
    [ServiceContract]
    public interface IAppImpl : IDisposable
    {
        //[OperationContract]
        //[FaultContract(typeof(FaultData))]
        //void Test();

        [OperationContract]
        [FaultContract(typeof(FaultData))]

        void AddUSer(T_User User);

        [OperationContract]
        [FaultContract(typeof(FaultData))]



        T_User GetUserByOpenID(string OpenID);


        [OperationContract]
        [FaultContract(typeof(FaultData))]


        void UPUser(T_User User);


        [OperationContract]
        [FaultContract(typeof(FaultData))]

        void AddAct(T_Act Act);

     
        


    
    }
}
